package com.h3bpm.web.service;

import com.alibaba.fastjson.JSONObject;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author leo
 */
public interface ExpensesOrReceiptsService {

    /**
     * 设置订单信息
     * @param contractNumber
     * @param contractName
     * @param orderType
     * @return
     * @throws Exception
     */
    Boolean setOrderInfo(String contractNumber, String contractName,String orderType,String objectId) throws Exception;

    /**
     * 设置凭证信息
     * @param contractNumber
     * @param actualPayment
     * @param performanceTime
     * @return
     * @throws Exception
     */
    Boolean setMasterDataByCredential(String contractNumber, BigDecimal actualPayment, String performanceTime) throws Exception;


    /**
     * 移除订单信息
     * @param contractNumber
     * @return
     * @throws Exception
     */
    Boolean removeOrderInfo(String contractNumber);

}
